package 软件开发原则.迪米特法则;
//媒体公司类
public class Company {
    private String name;

    public Company(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
